home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / latex209 / contrib / a4 / a4.doc < prev    next >
Text File  |  1991-06-08  |  41KB  |  512 lines

  1. \def\fileversion{1.2a}                                                          
  2. \def\filedate{30 Nov 90}                                                        
  3. \def\docdate {26 Feb 90}                                                        
  4. %                                                                               
  5. %% \CheckSum{134}                                                               
  6. %% \CharacterTable                                                              
  7. %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z         
  8. %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z         
  9. %%   Digits        \0\1\2\3\4\5\6\7\8\9                                         
  10. %%   Exclamation   \!     Double quote  \"     Hash (number) \#                 
  11. %%   Dollar        \$     Percent       \%     Ampersand     \&                 
  12. %%   Acute accent  \'     Left paren    \(     Right paren   \)                 
  13. %%   Asterisk      \*     Plus          \+     Comma         \,                 
  14. %%   Minus         \-     Point         \.     Solidus       \/                 
  15. %%   Colon         \:     Semicolon     \;     Less than     \<                 
  16. %%   Equals        \=     Greater than  \>     Question mark \?                 
  17. %%   Commercial at \@     Left bracket  \[     Backslash     \\                 
  18. %%   Right bracket \]     Circumflex    \^     Underscore    \_                 
  19. %%   Grave accent  \`     Left brace    \{     Vertical bar  \|                 
  20. %%   Right brace   \}     Tilde         \~}                                     
  21. %%                                                                              
  22. %                                                                               
  23. %\iffalse                                                                       
  24. % Style option `A4' to be used with LaTeX V2.09                                 
  25. % Copyright (C) 1990 Johannes Braams, Nico Poppelier. All rights reserved.      
  26. %                                                                               
  27. % Copying of this file is authorized only if either                             
  28. % (1) you make absolutely no changes to your copy, including name, or           
  29. % (2) if you do make changes, you name it something other than                  
  30. %     A4.doc or A4.sty.                                                         
  31. % This restriction helps ensure that all files developed By NTG WG13            
  32. % are identical.                                                                
  33. %                                                                               
  34. % Error reports for UNCHANGED versions please to:                               
  35. %                          J.L. Braams                                          
  36. %                          JL_Braams@pttrnl.nl (Braams@hlsdnl5.bitnet)          
  37. %                      or: N.A.F.M. Poppelier                                   
  38. %                          N.Poppelier@elsevier.nl                              
  39. %                                                                               
  40. % \changes{v1.0}{10 Jan 90}{Changed the margins for one-sided printing}         
  41. % \changes{v1.1}{23 Jan 90}{Added \WideMargins macros}                          
  42. % \changes{v1.2}{26 Feb 90}{Consolidated setting of \marginparwidth}            
  43. % \changes{v1.2a}{30 Nov 90}{replaced \typeout with \wlog}                      
  44. %                                                                               
  45. %\fi                                                                            
  46. %                                                                               
  47. % \title{A style option to adapt the standard \LaTeX\ document                  
  48. %        styles to A4 paper\thanks{This file                                    
  49. %        has version number \fileversion --                                     
  50. %        last revision \filedate, documentation dated \docdate.}}               
  51. %                                                                               
  52. % \author{Nico Poppelier}                                                       
  53. % \address{\TeX nique         \\                                                
  54. %          Washingtondreef 153\\                                                
  55. %          3564 KD Utrecht}                                                     
  56. % \netaddress{Poppelier@hutruu53.bitnet}                                        
  57. % \author{Johannes Braams}                                                      
  58. % \address{PTT Research Neher Laboratories\\                                    
  59. %          P.O. Box 421\\                                                       
  60. %          2260 AK Leidschendam}                                                
  61. % \netaddress{JL_Braams@pttrnl.nl}                                              
  62. %                                                                               
  63. % \date{Printed \today}                                                         
  64. %                                                                               
  65. % \maketitle                                                                    
  66. %                                                                               
  67. % \begin{abstract}                                                              
  68. %   This article describes a new style option that can be used with the         
  69. %   document styles that are distributed with the \LaTeX\ distributions.        
  70. %   It modifies the page layout to conform to the paper format most             
  71. %   commonly used in Europe, portrait A4.                                       
  72. % \end{abstract}                                                                
  73. %                                                                               
  74. % \section{Introduction}                                                        
  75. %                                                                               
  76. % This file is based on the document style options \verb+A4.sty+ and            
  77. % \verb+A4wide.sty+, which can be found in the Rochester style archive.         
  78. % The original style option \verb+A4.sty+ we started from was written by        
  79. % John Pavel, and is dated May 1987. This option only changes the vertical      
  80. % size of the text somewhat, by increasing the number of lines on a page.       
  81. % The style option \verb+A4wide.sty+ was written by Jean-Francois Lamy,         
  82. % and is dated July 1986. This option only increases the width of the text.     
  83. %                                                                               
  84. % \section{Goals and design decisions}                                          
  85. %                                                                               
  86. % As many people before us, we found the page layout as implemented in the      
  87. % standard \LaTeX\ document styles too much geared towards the                  
  88. % American-sized paper, which is somewhat wider than A4 paper, but also         
  89. % noticeably less high.                                                         
  90. %                                                                               
  91. % Our goal was to get a page layout that was suitable for A4 paper, and         
  92. % produced legible texts. There are a number of layout parameters that          
  93. % influence the legibility of a text. A parameter of major importance is        
  94. % the number of words (or characters) on a line. The maximum number of          
  95. % words per line is ten to twelve for optimal legibility, a rule-of-thumb       
  96. % that can be found in typographic literature (we used~\cite{treebus}).         
  97. % This results in a number of characters per line which lies somewhere          
  98. % between sixty and seventy.                                                    
  99. %                                                                               
  100. % Another important parameter is the amount of white space surrounding the      
  101. % text. Here we have to distinguish between texts that are printed              
  102. % one-sided and texts that are printed two-sided (back to back). In the         
  103. % first case the margins on odd and even pages should be equal; in the          
  104. % latter case care should be taken that the texts on both sides of the          
  105. % paper overlap.                                                                
  106. % Also a printed document is likely to be bound some way or another, so         
  107. % there should be enough white space in the `inner' margin\footnote{For         
  108. % two-sided printing, this is the left margin on odd-numbered pages and the     
  109. % right margin on even-numbered ones; for one-sided printing, this is           
  110. % always the left margin.} of the text to allow this.                           
  111. %                                                                               
  112. % There is yet one more thing to take into account when designing a page        
  113. % layout. \LaTeX\ offers the possibility of using marginal notes and if         
  114. % someone wants to use marginal notes, they should of course fit on             
  115. % the paper.                                                                    
  116. %                                                                               
  117. % So, we have the following goals:                                              
  118. % \begin{enumerate}                                                             
  119. % \item Choose the text width such that there will be sixty to seventy          
  120. %       characters on a line;                                                   
  121. % \item See to it that in documents that are printed two-sided, the             
  122. %       texts which end up on two sides of one sheet of paper overlap;          
  123. % \item Leave enough white space in the `inner' margin to allow for             
  124. %       the binding of the document;                                            
  125. % \item Leave enough white space in the `outer' margin                          
  126. %       for marginal notes if they are going to be used.                        
  127. % \end{enumerate}                                                               
  128. %                                                                               
  129. %                                                                               
  130. % \section{The implementation}                                                  
  131. %                                                                               
  132. % \subsection{The starting point}                                               
  133. %                                                                               
  134. % Thus we set out to modify some of the design decisions in the standard        
  135. % document styles. Because we knew that we were not the first to tackle         
  136. % the problem, we started by having a look at what was already available.       
  137. % We came up with the two options mentioned earlier, which are publicly         
  138. % available. Undoubtedly there will exist many more such files, some of         
  139. % them maybe modifications of those two files.                                  
  140. %                                                                               
  141. % We had a look at the layout produced by both options and were not             
  142. % satisfied with it. For one thing, both of the original options \verb+A4+      
  143. % and \verb+A4wide+ modify only one aspect of the page layout. The first        
  144. % thing to do was to put these two files together. This resulted in a           
  145. % layout which was still unsatisfactory, since for the 10-point and             
  146. % 11-point options lines in the text contained on the average eighty            
  147. % characters or more.                                                           
  148. %                                                                               
  149. % \subsection{What else?}                                                       
  150. %                                                                               
  151. % \DescribeMacro\textwidth                                                      
  152. % \DescribeMacro\marginparwidth                                                 
  153. % Because the result so far gave us lines that contained too many               
  154. % characters, we decreased the \verb+\textwidth+ to get lines that              
  155. % contain about sixty to seventy characters for all three size options.         
  156. % Still more work had to be done. As it turned out, using our new               
  157. % \verb+A4.sty+ together with the option \verb+twosided+ had a drawback:        
  158. % when the document was printed two-sided the texts on both side of one         
  159. % piece of paper overlapped only partly, which does not look good. We           
  160. % solved this by modifying the width of the margins for two-sided               
  161. % printing. At the same time we modified the \verb+\marginparwidth+ so          
  162. % that if someone uses a marginal note it would completely fit on the           
  163. % paper instead of falling off the page, which obviously would render           
  164. % the note unreadable.                                                          
  165. %                                                                               
  166. % \DescribeMacro\WideMargins                                                    
  167. % The decisions described above allow for marginal notes to be printed          
  168. % along with the normal text, but if someone makes heavy use of marginal        
  169. % notes, the resultant layout will not be very satisfactory, because if         
  170. % the full width of the marginal notes is used, they will take up too           
  171. % much space in the `outer' margin. For this case we provide the macro          
  172. % \verb+\WideMargins+. This macro modifies the page-layout parameters in        
  173. % such a way that the width reserved for marginal notes becomes 1.5             
  174. % inches. To achieve this the width of the main body of the text is             
  175. % decreased. This macro is meant to be used only in the preamble of the         
  176. % document.                                                                     
  177. %                                                                               
  178. %\StopEventually{                                                               
  179. % \section{Conclusion}                                                          
  180. %                                                                               
  181. % We have presented a new approach to adapt the page layout of the              
  182. % document styles that are part of the standard \LaTeX\ distributions to        
  183. % the dimensions of A4 paper. The width of marginal notes has been taken        
  184. % into account and a means to get wider marginal notes at the cost of           
  185. % shorter lines in the main body of the text has been provided.                 
  186. %                                                                               
  187. % \begin{thebibliography}{9}                                                    
  188. %   \bibitem{treebus} K.F. Treebus.                                             
  189. %   {\em Tekstwijzer, een gids voor het grafisch verwerken van tekst.}          
  190. %   SDU Uitgeverij ('s-Gravenhage, 1988). A Dutch book on layout                
  191. %   design and typography.                                                      
  192. % \end{thebibliography}                                                         
  193. %                                                                               
  194. % \makesignature                                                                
  195. % }                                                                             
  196. %                                                                               
  197. % \subsection{The code}                                                         
  198. %                                                                               
  199. % We begin by identifying the version of this file on the terminal and          
  200. % in the transcript file.                                                       
  201. %    \begin{macrocode}                                                          
  202. \wlog{Style option `A4' \fileversion\space<\filedate> (NP and JLB)}             
  203. \wlog{English documentation\space\space\space<\docdate> (JLB)}                  
  204. %    \end{macrocode}                                                            
  205. %                                                                               
  206. % \begin{macro}{\topmargin}                                                     
  207. % First, we redefine the \verb+\textheight+ and \verb+\topmargin+. The          
  208. % \verb+\topmargin+ is the distance from the reference point on the page        
  209. % to the top of the page of text. In most cases extra white space is not        
  210. % necessary since one inch of white space at the top of the page suffices.      
  211. %    \begin{macrocode}                                                          
  212. \topmargin 0pt                                                                  
  213. %    \end{macrocode}                                                            
  214. % \end{macro}                                                                   
  215. %                                                                               
  216. % \begin{macro}{\textheight}                                                    
  217. % The dimension parameter \verb+\textheight+ gives the total height of the      
  218. % text, including footnotes and figures, excluding the running head and         
  219. % foot. This height is given as an integral number times the                    
  220. % \verb+\baselineskip+, which results in an integral number of lines on a       
  221. % page.                                                                         
  222. %                                                                               
  223. % \noindent                                                                     
  224. % We have to include definitions of all relevant dimension parameters for       
  225. % each of the cases 10-point, 11-point and 12-point. We do this with a          
  226. % case statement:                                                               
  227. %                                                                               
  228. %    \begin{macrocode}                                                          
  229. \ifcase \@ptsize                                                                
  230.     \textheight 53\baselineskip                                                 
  231. %    \end{macrocode}                                                            
  232. % \noindent                                                                     
  233. % which modifies the height of the text for texts to be produced                
  234. % with the ten-point typeface:                                                  
  235. %    \begin{macrocode}                                                          
  236. \or                                                                             
  237.     \textheight 46\baselineskip                                                 
  238. %    \end{macrocode}                                                            
  239. % \noindent                                                                     
  240. % the same for eleven point:                                                    
  241. %    \begin{macrocode}                                                          
  242. \or                                                                             
  243.     \textheight 42\baselineskip                                                 
  244. %    \end{macrocode}                                                            
  245. % \noindent                                                                     
  246. % and for twelve point. Finally we close the \verb+\ifcase+ statement:          
  247. %    \begin{macrocode}                                                          
  248. \fi                                                                             
  249. %    \end{macrocode}                                                            
  250. %                                                                               
  251. % \noindent                                                                     
  252. % The only thing left to be done is to add the \verb+\topskip+ to               
  253. % the \verb+\textheight+.                                                       
  254. % The value of \verb+\topskip+ appears always to be 10pt.                       
  255. %                                                                               
  256. %    \begin{macrocode}                                                          
  257. \advance\textheight by \topskip                                                 
  258. %    \end{macrocode}                                                            
  259. % \end{macro}                                                                   
  260. %                                                                               
  261. % \begin{macro}{\textwidth}                                                     
  262. % \begin{macro}{\oddsidemargin}                                                 
  263. % \begin{macro}{\evensidemargin}                                                
  264. % That was the `vertical part' of the work. Now we have some work to do         
  265. % to get things right horizontally. Again we have to distinguish between        
  266. % the various character sizes because sixty eleven-point characters take        
  267. % up more space than sixty ten-point characters. But there's more to            
  268. % take into account. If documents are printed two-sided, the texts on           
  269. % both sides of the paper should overlap completely. This can be done be        
  270. % assigning appropriate values to \verb+\oddsidemargin+ and                     
  271. % \verb+\evensidemargin+, the parameters that define the left margins on        
  272. % odd and even pages respectively.                                              
  273. %                                                                               
  274. % \noindent                                                                     
  275. % First we start a case statement to distinguish between the various            
  276. % typeface sizes.                                                               
  277. %    \begin{macrocode}                                                          
  278. \ifcase \@ptsize                                                                
  279. %    \end{macrocode}                                                            
  280. % Then we specify the width of the text.                                        
  281. %    \begin{macrocode}                                                          
  282.     \textwidth      5.00in                                                      
  283. %    \end{macrocode}                                                            
  284. % \noindent                                                                     
  285. % Also specify the width of marginal notes. They must have a                    
  286. % reasonable width to be of any use, and this should be the same for            
  287. % either one-sided or two-sided printing.                                       
  288. %    \begin{macrocode}                                                          
  289.     \marginparwidth 1.00in                                                      
  290. %    \end{macrocode}                                                            
  291. % \noindent                                                                     
  292. % Here we need an if statement to test whether the option \verb+twosided+       
  293. % has been specified.                                                           
  294. %    \begin{macrocode}                                                          
  295.   \if@twoside                                                                   
  296. %    \end{macrocode}                                                            
  297. % \noindent                                                                     
  298. % If it was, assign appropriate values to the margin parameters                 
  299. %    \begin{macrocode}                                                          
  300.     \oddsidemargin  0.55in                                                      
  301.     \evensidemargin 0.75in                                                      
  302.   \else                                                                         
  303. %    \end{macrocode}                                                            
  304. % \noindent                                                                     
  305. % If the option \verb+twosided+ was not used, both margin parameters            
  306. % must have the same value, for texts on consecutive pages have to              
  307. % be put in the same place on the paper.                                        
  308. %    \begin{macrocode}                                                          
  309.     \oddsidemargin  0.55in                                                      
  310.     \evensidemargin 0.55in                                                      
  311. %    \end{macrocode}                                                            
  312. % \noindent                                                                     
  313. % Now we close the if statement.                                                
  314. %    \begin{macrocode}                                                          
  315.   \fi                                                                           
  316. %    \end{macrocode}                                                            
  317. % \noindent                                                                     
  318. % We are ready with the modifications for the ten-point typeface size, so       
  319. % now we do something similar for the eleven-point typeface.                    
  320. %    \begin{macrocode}                                                          
  321. \or                                                                             
  322.     \textwidth      5.20in                                                      
  323.     \marginparwidth 1.00in                                                      
  324.   \if@twoside                                                                   
  325.     \oddsidemargin  0.45in                                                      
  326.     \evensidemargin 0.65in                                                      
  327.   \else                                                                         
  328.     \oddsidemargin  0.45in                                                      
  329.     \evensidemargin 0.45in                                                      
  330.   \fi                                                                           
  331. %    \end{macrocode}                                                            
  332. % \noindent                                                                     
  333. % One more time, now for the twelve-point typeface.                             
  334. %    \begin{macrocode}                                                          
  335. \or                                                                             
  336.     \textwidth      5.70in                                                      
  337.     \marginparwidth 0.80in                                                      
  338.   \if@twoside                                                                   
  339.     \oddsidemargin  0.20in                                                      
  340.     \evensidemargin 0.40in                                                      
  341.   \else                                                                         
  342.     \oddsidemargin  0.20in                                                      
  343.     \evensidemargin 0.20in                                                      
  344.   \fi                                                                           
  345. %    \end{macrocode}                                                            
  346. % \noindent                                                                     
  347. % Finally we close the case statement.                                          
  348. %    \begin{macrocode}                                                          
  349. \fi                                                                             
  350. %    \end{macrocode}                                                            
  351. % \end{macro}                                                                   
  352. % \end{macro}                                                                   
  353. % \end{macro}                                                                   
  354. %                                                                               
  355. % \begin{macro}{\WideMargins}                                                   
  356. %    This macro is somewhat tricky: it has to find out                          
  357. %    which typeface size is used, whether the document should be printed        
  358. %    two-sided, and whether the \verb+\reversemarginpar+ is in effect.          
  359. %    \verb+\reversemarginpar+ makes the marginal notes appear in the            
  360. %    margin on the opposite side of the normal placement.                       
  361. %    \begin{macrocode}                                                          
  362. \def\WideMargins{%                                                              
  363. %    \end{macrocode}                                                            
  364. % \noindent                                                                     
  365. %    Because for each typeface size the changes to the parameters that          
  366. %    need to be made are similar, the macro \verb+\WideMargins+                 
  367. %    uses an internal macro \verb+\@widemargins+.                               
  368. %                                                                               
  369. % \begin{macro}{\ExtraWidth}                                                    
  370. %    In order to store the amount of extra width needed for the marginal        
  371. %    notes an extra dimension parameter is defined.                             
  372. %                                                                               
  373. %    \begin{macrocode}                                                          
  374.   \newdimen\ExtraWidth                                                          
  375. %    \end{macrocode}                                                            
  376. % \end{macro}                                                                   
  377. %                                                                               
  378. % \noindent                                                                     
  379. %    First find out about the point size, then call \verb+\@widemargins+ to     
  380. %    modify the margin widths by the amount given in \verb+\ExtraWidth+.        
  381. %    \begin{macrocode}                                                          
  382.   \ifcase \@ptsize                                                              
  383. %    \end{macrocode}                                                            
  384. %                                                                               
  385. % \noindent                                                                     
  386. %    For both 10-point and 11-point texts the width for marginal notes is       
  387. %    already 1 inch, so we increase it by half an inch. We subtract half an     
  388. %    inch from the text width and modify the margins appropriately.             
  389. %                                                                               
  390. %    \begin{macrocode}                                                          
  391.     \ExtraWidth = 0.5in                                                         
  392.     \@widemargins                                                               
  393.   \or                                                                           
  394.     \ExtraWidth = 0.5in                                                         
  395.     \@widemargins                                                               
  396.   \or                                                                           
  397. %    \end{macrocode}                                                            
  398. %                                                                               
  399. % \noindent                                                                     
  400. %    For 12-point texts the marginal notes are only 0.8 inch wide, so           
  401. %    now we have to add 0.7 inch to get them 1.5 inch wide.                     
  402. %                                                                               
  403. %    \begin{macrocode}                                                          
  404.     \ExtraWidth = 0.7in                                                         
  405.     \@widemargins                                                               
  406. %    \end{macrocode}                                                            
  407. %                                                                               
  408. % \noindent                                                                     
  409. %    This macro should only be called once, during the preamble of a            
  410. %    document, so we \verb+\let+ it be equal to \verb+\relax+ as soon           
  411. %    as the work is done.                                                       
  412. %    \begin{macrocode}                                                          
  413.   \fi\let\WideMargins\relax\let\@widemargins\relax}                             
  414. %    \end{macrocode}                                                            
  415. % \end{macro}                                                                   
  416. %                                                                               
  417. % \begin{macro}{\@preamblecmds}                                                 
  418. %    We add \verb+\WideMargins+ to \verb+\@preamblecmds+, which is a            
  419. %    list of commands to be used only in the preamble of a document.            
  420. %                                                                               
  421. %    \begin{macrocode}                                                          
  422. {\def\do{\noexpand\do\noexpand}                                                 
  423.  \xdef\@preamblecmds{\@preamblecmds \do\WideMargins}                            
  424. }                                                                               
  425. %    \end{macrocode}                                                            
  426. % \end{macro}                                                                   
  427. %                                                                               
  428. % \begin{macro}{\@widemargins}                                                  
  429. %    This macro modifies the margin parameters. To do this it uses              
  430. %    the dimension variable \verb+\ExtraWidth+, which was defined by            
  431. %    \verb+\WideMargins+.                                                       
  432. %                                                                               
  433. % \noindent                                                                     
  434. %    First the \verb+\ExtraWidth+ is subtracted from the \verb+\textwidth+      
  435. %    and added to the \verb+\marginparwidth+.                                   
  436. %    \begin{macrocode}                                                          
  437. \def\@widemargins{%                                                             
  438.     \global\advance\textwidth by -\ExtraWidth                                   
  439.     \global\advance\marginparwidth by \ExtraWidth                               
  440. %    \end{macrocode}                                                            
  441. %                                                                               
  442. % \noindent                                                                     
  443. %    Then we modify the margins, but the value of the switch                    
  444. %    \verb+\if@twoside+ has to be taken into account. Because                   
  445. %    we have to test another switch (\verb+\if@reversemargin+)                  
  446. %    we add another level of macros to modify the margin parameters%            
  447. %                                                                               
  448. %    \begin{macrocode}                                                          
  449.     \if@twoside                                                                 
  450.       \tw@sidedwidemargins                                                      
  451.     \else                                                                       
  452.       \@nesidedwidemargins                                                      
  453.     \fi}                                                                        
  454. %    \end{macrocode}                                                            
  455. % \end{macro}                                                                   
  456. %                                                                               
  457. % \begin{macro}{\tw@sidedwidemargins}                                           
  458. %    Normally the marginal notes are printed in the `outer' margins, so         
  459. %    we have to increase the \verb+\evensidemargin+ to keep the text            
  460. %    balanced on both sides of the paper, but if \verb+\reversemarginpar+       
  461. %    is in effect we have to increase the \verb+\oddsidemargin+ and             
  462. %    decrease the \verb+\evensidemargin+ accordingly.                           
  463. %                                                                               
  464. %    \begin{macrocode}                                                          
  465. \def\tw@sidedwidemargins{%                                                      
  466.     \if@reversemargin                                                           
  467. %    \end{macrocode}                                                            
  468. %                                                                               
  469. % \noindent                                                                     
  470. %    Notice that for documents printed two-sided, the                           
  471. %    \verb+\evensidemargin+ is wider than the \verb+\oddsidemargin+;            
  472. %    this difference in width is transferred to the other margin.               
  473. %                                                                               
  474. %    \begin{macrocode}                                                          
  475.       \@tempdima=\evensidemargin                                                
  476.       \advance\@tempdima by -\oddsidemargin                                     
  477.       \advance\oddsidemargin by \ExtraWidth                                     
  478.       \advance\oddsidemargin by \@tempdima                                      
  479.       \advance\evensidemargin by -\@tempdima                                    
  480.     \else                                                                       
  481. %    \end{macrocode}                                                            
  482. %                                                                               
  483. % \noindent                                                                     
  484. %    If the marginal notes go on the normal side of the paper, only the         
  485. %    \verb+\evensidemargin+ has to be increased.                                
  486. %                                                                               
  487. %    \begin{macrocode}                                                          
  488.       \advance\evensidemargin by \ExtraWidth                                    
  489.     \fi}                                                                        
  490. %    \end{macrocode}                                                            
  491. % \end{macro}                                                                   
  492. %                                                                               
  493. % \begin{macro}{\@nesidedwidemargins}                                           
  494. %    For documents that are printed one-sided, both margins have the same       
  495. %    width. The default placement for the marginal notes is in the right        
  496. %    margin, so if \verb+\reversemarginpar+ is {\em not\/} in effect the        
  497. %    margin parameters need not be modified. If it is in effect, both the       
  498. %    \verb+\oddsidemargin+ and the \verb+\evensidemargin+ need to be            
  499. %    increased.                                                                 
  500. %                                                                               
  501. %    \begin{macrocode}                                                          
  502. \def\@nesidedwidemargins{%                                                      
  503.     \if@reversemargin                                                           
  504.       \advance\oddsidemargin by \ExtraWidth                                     
  505.       \advance\evensidemargin by \ExtraWidth                                    
  506.     \fi}                                                                        
  507. %    \end{macrocode}                                                            
  508. %    \end{macro}                                                                
  509. %                                                                               
  510. % \Finale                                                                       
  511. \endinput                                                                       
  512.